package dynamic.thread.pool.sdk.domain;

import dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;


import java.util.List;

/**
 * @Author: 奔跑的鑫
 * @Date: 2024/10/29 - 12:36
 * Description:动态线程池-服务
 */
public interface IDynamicThreadPoolService {
    //总查询
    List<ThreadPoolConfigEntity> queryThreadPoolList();
    //根据名称查询
    ThreadPoolConfigEntity queryThreadPoolConfigByName(String threadPoolName);
    //更新
    void updateThreadPoolConfig(ThreadPoolConfigEntity threadPoolConfigEntity);

}
